<?php
// WARNING: this will work only in PHP5
// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();
if(!defined('ACC_INC')) define(ACC_INC,DOKU_INC.'phpincludes/');
require_once(ACC_INC.'ACC_Form_eletter_base.php');

$my_contact_form = new ACC_Form_eLetter($this);
print($my_contact_form->_action_show_form());

/*
Add Item mode
- add date picker
- add existing img selection to form (mediamanager.php) + selected img name/stamp
- if from admin mode: get data from file/uid; use provided uid; set action to return to admin list mode; remove date llimitations
Admin mode
1) list with sub select and action
- select items according to vdate&edate
- change sort order
- change status [new/ignore/post...]
- change priority
- edit item
2) edit item mode
- get item values from file for uid
- set post action to return to list admin mode
3) show eLetter and code
*/